﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Runtime.InteropServices;

namespace captcha_maker
{
    class NNLib
    {
        [DllImport("NNDll.dll")]
        extern static int SolveChar(byte[] _input, ref double _certain, int _lenght);

        public static int Solve(byte[] representation, ref double _certain)
        {
            return SolveChar(representation, ref _certain, representation.Length);
        }
    }
}
